//
//  YFSearchView.h
//  project
//
//  Created by yefei on 2019/5/5.
//  Copyright © 2019 健健. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AMapSearchKit/AMapSearchKit.h>
#import <AMapFoundationKit/AMapFoundationKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface YFSearchView : UIView

@property(class, nonatomic, strong, readonly) YFSearchView *searchView;

@property (nonatomic, copy) void(^resultAction)(AMapPOI *poi);

- (void)showOn:(UIView *)view;

- (void)dismiss;


@end

NS_ASSUME_NONNULL_END
